package com.itheima.test1;

public class TestSystem {
    public static void main(String[] args) {
        //终止当前java虚拟机
        //System.exit(0);
        //打印当前时间(单位为毫秒)
        long l = System.currentTimeMillis();
        System.out.println(l);
        //数组复制arraycopy(数据源数组,起始索引,目的地数组,起始数组,拷贝个数)
        int[] arr1 = {1,2,3,4,5};
        int[] arr2 = new int[10];
        System.arraycopy(arr1,0,arr2,2,arr1.length);
        for (int i = 0; i < arr2.length; i++) {
            System.out.println(arr2[i]);
        }

    }
}
